﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.ServiceModel.Web;
using TaskManagement.WcfServiceLibrary;

namespace DevelopmentWCFServiceHost
{
    public partial class DevHost : Form
    {
        private WebServiceHost host;
        public DevHost()
        {
            InitializeComponent();          
        }

        private void DevHost_Load(object sender, EventArgs e)
        {
            host = new WebServiceHost(typeof(TaskService));
            host.Open();
            richTextBox1.Text = "Service hosted";
            propertyGrid1.SelectedObject = host;
        }
    }
}
